home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / doc / quel / range.doc < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.2 KB  |  38 lines

  1.  
  2.  
  3.  
  4.  
  5.      RANGE(QUEL)                  2/29/79                  RANGE(QUEL)
  6.  
  7.  
  8.  
  9.      NAME
  10.           range - declare a variable to range over a relation
  11.  
  12.      SYNOPSIS
  13.           _r_a_n_g_e _o_f variable _i_s relname
  14.  
  15.      DESCRIPTION
  16.           _R_a_n_g_e is used to declare variables which  will  be  used  in
  17.           subsequent QUEL statements.  The _v_a_r_i_a_b_l_e is associated with
  18.           the relation specified by _r_e_l_n_a_m_e.   When  the  _v_a_r_i_a_b_l_e  is
  19.           used  in  subsequent  statements it will refer to a tuple in
  20.           the named relation.  A range declaration remains  in  effect
  21.           for an entire INGRES session (until exit from INGRES), until
  22.           the variable is redeclared by a subsequent range  statement,
  23.           or until the relation is removed with the destroy command.
  24.  
  25.      EXAMPLE
  26.           /* Declare tuple variable e to range over relation emp */
  27.              range of e is emp
  28.  
  29.      SEE ALSO
  30.           quel(quel), destroy(quel)
  31.  
  32.      BUGS
  33.           Only 10 variable declarations may be in effect at any  time.
  34.           After  the  10th  range statement, the least recently refer-
  35.           enced variable is re-used for the next range statement.
  36.  
  37.  
  38.